Shopglut\showcases\ShopBanner\ShopBannerFrontend A

Total Complexity 55
Dependencies 1
Dependents 1
Total lines 747
Lines of code 646
Logical lines of code 99
Comment lines 51
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
add_inline_styles()
B
42 1 373
page_matches_location()
A
48 16 30
prepare_banner_settings()
A
51 10 31
is_banner_active_for_page()
A
53 9 24
display_banner()
A
49 8 30
add_banner_display_script()
A
44 1 122
get_active_banners_for_current_page()
S
64 3 10
maybe_display_shopbanner()
S
67 2 8
get_instance()
S
70 2 7
__construct()
S
69 1 6
render_banner_container()
S
82 1 3
enqueue_scripts()
S
91 1 2